/**
 * 原生 sdk
 * @author 神兽白泽
 * @description 交流群：415468592
 */

import { _decorator } from 'cc';
import * as cc from 'cc';
import SdkBase from "../SdkBase";

export default class Native extends SdkBase {
    /**
    * 微信朋友圈分享
    */
    public static wxPYQShare() {
        cc.log("WXSdk-wxPYQShare")
    }
    /**
    * 手机震动
    */
    public static vibrate(time: number = 0.5) {
        /** @ts-ignore */
        jsb.Device.vibrate(time);// 单位秒
    }
}